package com.csc.service;

import java.io.IOException;
import java.text.ParseException;
import java.util.List;

import com.csc.bean.BlogLogonBean;
import com.csc.domain.SystemTimeUsed;
import com.itextpdf.text.DocumentException;
import com.itextpdf.text.Image;
import com.itextpdf.text.pdf.PdfPTable;

public interface SystemTimeUsedService {
	public boolean addSystemTimeUsed(SystemTimeUsed sysTimeUsed);

	public List<SystemTimeUsed> getAllListSystemTimeUsed();

	public List<SystemTimeUsed> searchByName(String name);

	public List<SystemTimeUsed> searchAdvancedBlogon(String name, String role,
			String dateTo, String dateFrom);

	public List<BlogLogonBean> parseToBlogLogon(List<SystemTimeUsed> listAll);

	public PdfPTable createTableBlogLogon(List<BlogLogonBean> listTrans,
			Image image) throws ParseException, DocumentException, IOException;
}
